using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace FrameWork.web
{
    public partial class LoginOut : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            FrameWorkLogin.UserOut();
            ClientScript.RegisterStartupScript(this.GetType(), "LogOut", "<script> window.parent.location='~/Login.aspx';</script>");
            //Response.Redirect("Login.aspx");
            //this.ClientScript.RegisterStartupScript(this.GetType(), "LogOut", "<script> window.opener=null;window.open('Login.aspx','_self');pop=window.open('Login.aspx');pop.moveTo(0,0);pop.resizeTo(screen.availWidth,screen.availHeight);window.close();</script>");
        }



    }
}
